package com.sss.day35_mvc_mybatis.service.Impl;

import com.sss.day35_mvc_mybatis.mapper.OrderMapper;
import com.sss.day35_mvc_mybatis.model.OrderVO;
import com.sss.day35_mvc_mybatis.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 全世界我最爱朴彩英！
 *
 * @Author sss
 * @Create 2023/11/28 17:58
 */
@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderMapper mapper;

    public OrderVO findOrderWithUserByOid(int oid) {
        return mapper.findOrderWithUserByOid(oid);

    }
}
